from Ganga.GPIDev.Base import GangaObject
from Ganga.GPIDev.Schema import *
from Ganga.Utility.Config import getConfig

class VMDevice(GangaObject):
   '''
   Helper class to define VM device 
   '''

   _schema = Schema(Version(1,0), {
      'type'            : SimpleItem(defvalue='', sequence=1,doc='device type'),
      'name'            : SimpleItem(defvalue='', sequence=1,doc='device name'),
      'target'          : SimpleItem(defvalue='', doc='device mounting target'),
   })

   _category = 'VMDevice'
   _name = 'VMDevice'

   def __init__(self):
     
      super(VMDevice,self).__init__()
